package com.bh.order.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntityNoCode;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 计划货品明细对象 jc_presco_product
 *
 * @author slx
 * @date 2023-04-24
 */
@TableName("jc_presco_product")
@Data
public class JcPrescoProduct extends BhtmsBaseEntityNoCode {
    

    /**
     * 货品类型
     */
    @Excel(name = "货品类型")
    private String type;

    private Integer number;


    private String unit;


    private BigDecimal value;


    private BigDecimal volume;


    private BigDecimal weight;


    private Long jcPrescoId;


    private String jcDeliveryOrderId;


    private BigDecimal jzWeight;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("description", getDescription())
               
                .append("modifyName", getModifyName())
                .append("modifyTime", getModifyTime())
                .append("name", getName())
                .append("status", getStatus())
                .append("number", getNumber())
                .append("unit", getUnit())
                .append("value", getValue())
                .append("volume", getVolume())
                .append("weight", getWeight())
                .append("jcPrescoId", getJcPrescoId())
                .append("jcDeliveryOrderId", getJcDeliveryOrderId())
                .append("jzWeight", getJzWeight())
                .toString();
    }
}
